package com.bawei.mall.product.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bawei.common.core.annotation.Excel;
import com.bawei.common.core.web.domain.BaseEntity;

/**
 * gao对象 mall_product_gao
 *
 * @author duanguohong
 * @date 2024-07-02
 */
public class MallProductGao extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告id */
    private Long id;

    /** 广告名称 */
    @Excel(name = "广告名称")
    private String name;

    /** 数量 */
    @Excel(name = "数量")
    private Integer clickCount;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 数量 */
    @Excel(name = "数量")
    private Integer orderCount;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 路径 */
    @Excel(name = "路径")
    private String url;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setClickCount(Integer clickCount)
    {
        this.clickCount = clickCount;
    }

    public Integer getClickCount()
    {
        return clickCount;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setOrderCount(Integer orderCount)
    {
        this.orderCount = orderCount;
    }

    public Integer getOrderCount()
    {
        return orderCount;
    }
    public void setPic(String pic)
    {
        this.pic = pic;
    }

    public String getPic()
    {
        return pic;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setSort(String sort)
    {
        this.sort = sort;
    }

    public String getSort()
    {
        return sort;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("clickCount", getClickCount())
            .append("startTime", getStartTime())
            .append("orderCount", getOrderCount())
            .append("pic", getPic())
            .append("endTime", getEndTime())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("type", getType())
            .append("url", getUrl())
            .toString();
    }
}
